<?php
/* @var $this MeansofegressController */
/* @var $model Meansofegress */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'meansofegress-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'ReadilyAccessible'); ?>
		<?php echo $form->textField($model,'ReadilyAccessible'); ?>
		<?php echo $form->error($model,'ReadilyAccessible'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'TravelDistanceWithinLimits'); ?>
		<?php echo $form->textField($model,'TravelDistanceWithinLimits'); ?>
		<?php echo $form->error($model,'TravelDistanceWithinLimits'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'AdequateIllumination'); ?>
		<?php echo $form->textField($model,'AdequateIllumination'); ?>
		<?php echo $form->error($model,'AdequateIllumination'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'PanicHardwareOperational'); ?>
		<?php echo $form->textField($model,'PanicHardwareOperational'); ?>
		<?php echo $form->error($model,'PanicHardwareOperational'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'DoorsOpenEasily'); ?>
		<?php echo $form->textField($model,'DoorsOpenEasily'); ?>
		<?php echo $form->error($model,'DoorsOpenEasily'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'BldgWithMezzanine'); ?>
		<?php echo $form->textField($model,'BldgWithMezzanine'); ?>
		<?php echo $form->error($model,'BldgWithMezzanine'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'CorridorsAndAislesOfSufficientSize'); ?>
		<?php echo $form->textField($model,'CorridorsAndAislesOfSufficientSize'); ?>
		<?php echo $form->error($model,'CorridorsAndAislesOfSufficientSize'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Obstructed'); ?>
		<?php echo $form->textField($model,'Obstructed'); ?>
		<?php echo $form->error($model,'Obstructed'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'DeadEndsWithinLimits'); ?>
		<?php echo $form->textField($model,'DeadEndsWithinLimits'); ?>
		<?php echo $form->error($model,'DeadEndsWithinLimits'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ProperRatingOfIllumination'); ?>
		<?php echo $form->textField($model,'ProperRatingOfIllumination'); ?>
		<?php echo $form->error($model,'ProperRatingOfIllumination'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'DoorSwingingInTheDirectionOfExit'); ?>
		<?php echo $form->textField($model,'DoorSwingingInTheDirectionOfExit'); ?>
		<?php echo $form->error($model,'DoorSwingingInTheDirectionOfExit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'SelfClosureOperational'); ?>
		<?php echo $form->textField($model,'SelfClosureOperational'); ?>
		<?php echo $form->error($model,'SelfClosureOperational'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'MezzanineWithProperExits'); ?>
		<?php echo $form->textField($model,'MezzanineWithProperExits'); ?>
		<?php echo $form->error($model,'MezzanineWithProperExits'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ClassroomCapacity'); ?>
		<?php echo $form->textField($model,'ClassroomCapacity'); ?>
		<?php echo $form->error($model,'ClassroomCapacity'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ClassroomCapacityOth'); ?>
		<?php echo $form->textField($model,'ClassroomCapacityOth',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'ClassroomCapacityOth'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ClssNoOfDoors'); ?>
		<?php echo $form->textField($model,'ClssNoOfDoors'); ?>
		<?php echo $form->error($model,'ClssNoOfDoors'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ClssDirection'); ?>
		<?php echo $form->textField($model,'ClssDirection',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'ClssDirection'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ClssAngleSwing'); ?>
		<?php echo $form->textField($model,'ClssAngleSwing',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'ClssAngleSwing'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ClssWidth'); ?>
		<?php echo $form->textField($model,'ClssWidth'); ?>
		<?php echo $form->error($model,'ClssWidth'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ClssWindowOpeningProvided'); ?>
		<?php echo $form->textField($model,'ClssWindowOpeningProvided'); ?>
		<?php echo $form->error($model,'ClssWindowOpeningProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ClssWindowWidth'); ?>
		<?php echo $form->textField($model,'ClssWindowWidth'); ?>
		<?php echo $form->error($model,'ClssWindowWidth'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ClssWindowHeight'); ?>
		<?php echo $form->textField($model,'ClssWindowHeight'); ?>
		<?php echo $form->error($model,'ClssWindowHeight'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Establishment_Id'); ?>
		<?php echo $form->textField($model,'Establishment_Id'); ?>
		<?php echo $form->error($model,'Establishment_Id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->